//
//  ViewController.m
//  News
//
//  Created by 李旭阳 on 15/12/28.
//  Copyright © 2015年 apple. All rights reserved.
//

#import "ViewController.h"
#import "NewsPindaoView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
    
    layout.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    layout.itemSize = CGSizeMake(80, 30);
    
    NewsPindaoView *pindaoView = [[NewsPindaoView alloc] initWithFrame:CGRectZero collectionViewLayout:layout];
    [self.view addSubview:pindaoView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    

}

@end
